#!/bin/bash
#
# Run odWpPlugin tests ...
#
# Copyright (c) 2010 Ondrej Donek.
# See the file LICENSE for licensing information.

# Path to the main PHPUnit script
phpunit_path='/opt/lampp/bin'

# Path to the directory where the report will be saved
reports_dir='../build/tests'

# Ensure that are create all required dirs/files
mkdir -p $reports_dir
touch $reports_dir/results.xml

# Run the tests
$phpunit_path/phpunit --colors --log-junit $reports_dir/results.xml \
--bootstrap wordpress_bootstrap.php odWpPluginTestsSuite 
